package com.ht.module.bus.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author hejialun
 * @ClassName RoomRuleChangeDto
 * @description: TODO（开始房间dto）
 * @Date: 2025/1/3 9:57
 */
@Data
@Accessors(chain = true)
public class RoomRuleChangeDto {

    @Schema(description = "房间id")
    @NotNull
    private Integer roomId;

    @Schema(description = "计分模式,0:统一记，1:给分模式，2：总账模式")
    private Integer mode;

    @Schema(description = "台费规则：0：无台费，1：抽分模式，2：百分比")
    private Integer taiwanFee;

    @Schema(description = "台费规则:1的时候 满多少分抽")
    private BigDecimal fullVal;

    @Schema(description = "台费规则:1的时候 达到满足分抽多少分")
    private BigDecimal deductVal;

    @Schema(description = "最大台费值")
    private BigDecimal taiwanFeeMax;

    @Schema(description = "台费百分比值")
    private Integer percentValue;
}
